Network video streaming with trick play based on separate trick play files

ABSTRACT

Network services encode multimedia content, such as video, into multiple adaptive bitrate streams of encoded video and a separate trick play stream of encoded video to support trick play features. The trick play stream is encoded at a lower encoding bitrate and frame rate than each of the adaptive bitrate streams. The adaptive bitrate streams and the trick play stream are stored in the network services. During normal content streaming and playback, a client device downloads a selected one of the adaptive bitrate streams from network serviced for playback at the client device. To implement a trick play feature, the client device downloads the trick play stream from the network services for trick play playback.

CROSS-REFERENCE TO RELATED APPLICATION

The current application is a continuation of U.S. patent application Ser. No. 13/905,852 entitled “Network Video Streaming with Trick Play Based on Separate Trick Play Files” to Shivadas et al., filed May 30, 2013. The disclosure of U.S. patent application Ser. No. 13/905,852 is hereby incorporated by reference in its entirety.

BACKGROUND

Distribution of multimedia video (also referred to herein as “media” and/or “program(s)”), such as movies and the like, from network services to a client device, may be achieved through adaptive bitrate streaming of the video. Prior to streaming, the video may be encoded at different bitrates and resolutions into multiple bitrate streams that are stored in the network services. Typically, each of the bitstreams includes time-ordered segments of encoded video.

Adaptive bitrate streaming includes determining an available streaming bandwidth at the client device, and then downloading a selected one of the different bitrate streams from the network services to the client device based on the determined available bandwidth. While streaming, the client device downloads and buffers the successive encoded video segments associated with the selected bitstream. The client device decodes the buffered encoded video segments to recover the video therein, and then plays back the recovered video on the client device, e.g., in audio-visual form.

In normal playback, the client device plays back the video recovered from each of the buffered segments in the order in which the video was originally encoded, i.e., in a forward direction. The client device may offer playback modes or features in addition to normal playback. Such additional playback features may include rewind, fast forward, skip, and so on, as is known.

The additional playback features are referred to herein as trick play features. In order to implement trick play features, such as rewind, the client device requires access to video that has already been played. Therefore, the client device may be required to store large amounts of already downloaded and played video in order to meet the demands of a selected trick play feature. However, many client devices, especially small, hand-held devices, have limited memory capacity and, therefore, may be unable to store the requisite amount of video.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example network environment that supports adaptive bitrate streaming of multimedia content, such as video, with trick play features.

FIG. 2 is an illustration of an example encoded multimedia video program generated by and stored in network services of FIG. 1.

FIG. 3A is an illustration of an example adaptive bitrate frame structure of an encoded video block of FIG. 2.

FIG. 3B is an illustration of an example trick play frame structure of an encoded video block of FIG. 2.

FIG. 4 is a sequence diagram of example high-level interactions between network services and a client device used to initiate streaming, implement normal streaming and playback, and implement trick play features in streaming embodiments.

FIG. 5 is an example Profile message used in streaming.

FIG. 6 is an example Playlist message used in streaming.

FIG. 7 is a flowchart of an example network-side method of multimedia content streaming with trick play support based on trick play files, which may be implemented in the network services of FIG. 1.

FIG. 8 is a flowchart of an example client-side method of multimedia content streaming with trick play support based on trick play files, which may be implemented in the client device of FIG. 1.

FIG. 9A is a block diagram of an example computer system.

FIG. 9B is a block diagram of network/server-side application instructions which may execute in on a processor system similar to that of FIG. 9A.

FIG. 10 is a block diagram of an example computer system corresponding to any of the network servers in the environment of FIG. 1.

FIG. 11 is a block diagram of an example system representing a client device of FIG. 1.

In the drawings, the leftmost digit(s) of a reference number identifies the drawing in which the reference number first appears.

DETAILED DESCRIPTION

Table of Contents 1 Network Environment 4 2 Container Files - Streaming Sources 8 2.1 Encoded Video Frame Structure 12 3 Sequence Diagram 14 3.1 Start-up 14 3.2 Normal Streaming and Playback 16 3.3 Trick Play 17 4 Profile and Playlist Messages 19 4.1 Profile Message 19 4.2 Playlist Message 20 5 Method Flowcharts 21 5.1 Network Side 21 5.2 Client Side 22 6 Systems 24 1 Network Environment

FIG. 1 is a block diagram of an example network environment 100 that supports adaptive bitrate streaming of multimedia content with trick play features. Network services 102 encode multimedia content, such as video, into multiple adaptive bitrate streams of encoded video and a separate trick play stream of encoded video to support trick play features. The trick play stream may be encoded at a lower encoding bitrate and a lower frame than each of the adaptive bitrate streams. The adaptive bitrate and trick play streams are stored in network services 102. For normal content streaming and playback, a client device 104 downloads a selected one of the adaptive bitrate streams from network services 102 for playback at the client device. When a user of client device 104 selects a trick play feature, such as rewind, the client device 104 downloads the trick play stream from network services 102 for trick play playback.

Environment 100 supports trick play features in different adaptive bitrate streaming embodiments, including on-demand streaming, live streaming, and real-time streaming embodiments. On-demand streaming includes encoding the content of a program from start to end in its entirety and then, after the entire program has been encoded, streaming, i.e., downloading, the encoded program to a client device. An example of on-demand streaming includes streaming a movie from a Video-on-Demand (VOD) service to a client device.

Live streaming includes encoding successive blocks of live content, i.e., a live program, as they are received from a content source, and then streaming each encoded block as it becomes available for download. Live streaming may include streaming live scenes, i.e., video, captured with a video camera.

Real-time streaming is similar in most aspects to live streaming, except that the input to real-time streaming is not a live video feed. Rather, the input, or source, may include successive encoded blocks, or input blocks, that have a format not suitable for streaming (e.g., for a given system) and must, therefore, be decoded and re-encoded (i.e., transcoded) into an encoded format that is suitable for streaming (in the given system). Real-time streaming handles the successive incompatible input blocks similar to the way live streaming handles the successive blocks of live content.

Network environment 100 is now described in detail. Network environment 100 includes server-side or network services 102 (also referred to simply as “services 102”) and client-side device 104. Network services 102 may be implemented as Internet cloud-based services. Network services 102 interact and cooperate with each other, and with client device 104, to manage and distribute, e.g., stream, multimedia content from content sources 108 to the client devices, over one or more communication network 106, such as the Internet. Network services 102 communicate with each other and with client devices 104 using any suitable communication protocol, such as an Internet protocol, which may include Transmission Control Protocol/Internet Protocol (TCP/IP), Hypertext Transfer Protocol (HTTP), etc., and other non-limiting protocols described herein.

Content sources 108 may include any number of multimedia content sources or providers that originate live and/or pre-recorded multimedia content (also referred to herein simply as “content”), and provide the content to services 102, directly, or indirectly through communication network 106. Content sources 108, such as Netflix®, HBO®, cable and television networks, and so on, may provide their content in the form of programs, including, but not limited to, entertainment programs (e.g., television shows, movies, cartoons, news programs, etc.), educational programs (e.g., classroom video, adult education video, learning programs, etc.), and advertising programs (e.g., commercials, infomercials, or marketing content). Content sources 108, such as, e.g., video cameras, may capture live scenes provide the resulting real-time video to services 102. Content sources may also include live broadcast feeds deployed using protocols such as Real-time Transport Protocol (RTP), and Real-time Messaging Protocol (RTMP).

Network services 102 include, but are not limited to: an encoder 110 to encode content from content sources 108; a content delivery network (CDN) 112 (also referred to as a “download server 112”) to store the encoded content, and from which the stored, encoded content may be streamed or downloaded to client device 104; and a real-time service (RTS) 114 (also referred to as a “real-time server (RTS) 114”) to (i) control services 102, and (ii) implement an RTS streaming control interface through which client device 104 may initiate and then monitor both on-demand, live, and real-time streaming sessions. Each of services 102 may be implemented as one or more distinct computer servers that execute one or more associated server-side computer program applications suited to the given service.

Encoder 110 may be implemented as a cloud encoder accessible over communication network 106. Encoder 110 encodes content provided thereto into a number of alternative bitstreams 120 (also referred to as encoded content) to support adaptive bitrate streaming of the content. For increased efficiency, encoder 110 may be implemented as a parallel encoder that includes multiple parallel encoders. In such an embodiment, encoder 110 divides the content into successive blocks or clips each of a limited duration in time. Each block may include a number of successive picture frames, referred to collectively as a group of pictures (GOPs). Encoder 110 encodes the divided blocks or GOPs in parallel to produce alternative bitstreams 120. Encoder 110 may also include transcoders to transcode input files from one encoded format to another, as necessary.

Alternative bitstreams 120 encode the same content in accordance with different encoding parameters/settings, such as at different encoding bitrates, resolutions, frame rates, and so on. In an embodiment, each of bitstreams 120 comprises a large number of sequential (i.e., time-ordered) files of encoded content, referred to herein as container files (CFs), as will be described further in connection with FIG. 2.

After encoder 110 has finished encoding content, e.g., after each of the content blocks is encoded, the encoder uploads the encoded content to CDN 112 for storage therein. CDN 112 includes one or more download servers (DSs) to store the uploaded container files at corresponding network addresses, so as to be accessible to client device 104 over communication network 106.

RTS 114 acts as a contact/control point in network services 102 for client device 104, through which the client device may initiate and then monitor its respective on-demand, live, and real-time streaming sessions. To this end, RTS 114 collects information from services 102, e.g., from encoder 110 and CDN 112, that client device 104 may use to manage its respective streaming sessions, and provides the collected information to the client device via messages (described below) when appropriate during streaming sessions, thus enabling the client device to manage its streaming sessions. The information collected by RTS 114 (and provided to client device 104) identifies the encoded content, e.g., the container files, stored in CDN 112, and may include, but is not limited to, network addresses of the container files stored in the CDN, encoding parameters use to encode the container files, such as their encoding bitrates, resolutions, and video frame rates, and file information, such as file sizes, and file types.

Client device 104 may be capable of wireless and/or wired communication with network services 102 over communication network 106, and includes processing, storage, communication, and user interface capabilities sufficient to provide all of the client device functionality described herein. Such functionality may be provided, at least in part, by one or more client applications 107, such as computer programs, that execute on client device 104. Client applications 107 may include:

-   -   a. a Graphical User Interface (GUI) through which a user of the         client device may interact with and request services from         corresponding server-side applications hosted in services 102.         The GUI may also present trick play feature selections to the         user, such as rewind and fast forward. Under user control         through the GUI, client device 104 may request/select (i)         programs to be streamed from services 102, and (ii) trick play         features to control trick play playback of the streamed         programs;     -   b. streaming and playback applications to stream/download the         selected programs from the services, and playback, i.e.,         present, the streamed programs on client device 104, under user         control, through the GUI; and     -   c. a trick play application, integrated with the GUI and the         streaming and playback applications, to implement the trick play         features as described herein.         2 Container Files—Streaming Sources

As described above, encoder 110 encodes multimedia content from content sources 108, and CDN 112 stores the encoded content. To support adaptive bitrate streaming and trick play features, encoder 110 encodes the content at multiple encoding levels, where each level represents a distinct combination of an encoding bitrate, a video resolution (for video content), and a video frame rate, to produce (i) multiple adaptive bitrate streams for the content, and (ii) a trick play stream for the content. The multiple streams may be indexed according to their respective encoding levels. While streaming the encoded program from CDN 112, client device 104 may switch between streams, i.e., levels (and thus encoded bitrates and resolutions), according to conditions at the client device. Also, while streaming the encoded program, client device 104 may download portions of the trick play stream from CDN 112 to implement trick play features in the client device.

FIG. 2 is an illustration of an example encoded multimedia video program 200 generated by encoder 110 and stored in CDN 112. Encoded video program 200 includes:

-   -   a. two encoded adaptive bitrate (ABR) video streams 1, 2 encoded         at corresponding encoding levels L1, L2 and available for         adaptive bitrate streaming; and     -   b. a trick play stream encoded at an encoding level L3. The         trick play stream corresponds to, i.e., encodes the same video         as, the two ABR streams 1, 2.

Each of encoding levels L1-L3 corresponds to a distinct combination of an encoding bitrate (Rate), a video resolution (Res), and a video frame rate (FR). In the example, encoding levels L1, L2, L3 correspond to encoder settings Rate1/Res1/FR1, Rate2/Res2/FR2, Rate3/Res3/FR3, respectively. In an embodiment, the encoding bitrate Rate3 and the video frame rate FR3 used to encode the trick play stream are less than the encoding bitrates Rate1, Rate2 and the frame rates FR1, FR2, respectively, used to encode adaptive bitrate streams 1, 2.

Although the example of FIG. 2 includes only two encoding levels for the ABR streams, in practice, an encoded video program typically includes many more than two levels of encoding for ABR streaming, such as 8 to 15 levels of encoding.

Each of streams 1-3 includes a distinct, time-ordered, sequence of container files CF (i.e., successive container files CF), where time is depicted in FIG. 2 as increasing in a downward vertical direction. Each of the successive container files CF, of each of streams 1-3, includes (i.e., encodes) a block or segment of video (also referred to herein as an encoded video block or segment) so that the successive container files encode successive contiguous encoded video blocks. Each of container files CF includes a time code TC to indicate a duration of the video encoded in the block of the container file, and/or a position of the container file in the succession of container files comprising the corresponding stream. The time code TC may include a start time and end time for the corresponding encoded video block. In an example in which each of container files CF encodes two seconds of video, time codes TC1, TC2, and TC3 may represents start and end times of 0 s (seconds) and 2 s, 2 s and 4 s, and 4 s and 6 s, respectively, and so down the chain of remaining successive container files.

The encoded blocks of the container files CF in a given stream may encode the same content (e.g., video content) as corresponding blocks in the other streams. For example, the stream 1 block corresponding to time code TC1 has encoded therein the same video as that in the stream 2 block corresponding to TC1. Such corresponding blocks encode the same content and share the same time code TC, i.e., they are aligned or coincide in time.

In an embodiment, a program stream index 204 may be associated with encoded video program 200 to identify each of the streams therein (e.g., the ABR streams 1, 2, and the trick play stream). RTS 114 may create (and store) program stream index 204 based on the information collected from encoder 110 and CDN 112, as described above in connection with FIG. 1. Then, during a live streaming session, for example, RTS 114 may provide information from program stream index 204 to client device 104 so as to identify appropriate container file addresses to the client device. Program stream index 204 may include:

-   -   a. address pointers (e.g., network addresses, such as Uniform         Resource Locators (URLs)) 210-1, 210-2, 210-3 to corresponding         streams 1, 2, and the trick play stream;     -   b. encoder parameters/settings associated with the encoded         streams including, but not limited to, encoding levels L1, L2,         L3 (also referred to as “Video ID” in FIG. 2, and including the         encoding bitrates and resolutions Rate1/Res1, Rate2/Res2,         Rate3/Res3), encoding techniques/standards, and file types and         sizes of the container files CF; and     -   c. a trick play flag (TP flag) associated with URL 210-3 that,         when set, indicates the associated stream is a trick play         stream.

Address pointers 210-1, 210-2, 210-3 may point to respective lists of addresses A1, A2, A3 of the container files CF comprising each of streams 1, 2, 3. Address lists A1, A2, A3 may each be represented as an array or linked list of container file network addresses, e.g., URLs. Accordingly, access to the information in program stream index 204 results in possible access to all of the container files associated with streams 1, 2, 3.

Although each of container files CF depicted in FIG. 2 represents a relatively small and simple container structure, larger and more complicated container structures are possible. For example, each container file may be expanded to include multiple clusters of encoded media, each cluster including multiple blocks of encoded media, to thereby form a larger container file also suitable for embodiments described herein. The larger container files encode an equivalent amount of content as a collection of many smaller container files.

Container files may encode a single stream, such as a video stream (as depicted in FIG. 2), an audio stream, or a text stream (e.g., subtitles). Alternatively, each container file may encode multiple multiplexed streams, such as a mix of video, audio, and text streams. In addition, a container file may encode only a metadata stream at a relatively low bitrate.

In embodiments: the container files may be Matroska (MKV) containers based on Extensible Binary Meta Language (EBML), which is a derivative of Extensible Binary Meta Language (XML), or files encoded in accordance with the Moving Picture Experts Group (MPEG) standard; the program stream index may be provided in a Synchronized Multimedia Integration Language (SMIL) format; and client device 104 may download container files from CDN 114 over networks 106 using the HTTP protocol. In other embodiments, the container file formats may include OGG, flash video (FLV), Windows Media Video (WMV), or any other format.

Exemplary, non-limiting, encoding bitrates for different levels, e.g., levels L1, L2, L3 may range from below 125 kilo-bits-per-second (kbps) up to 15,000 kbps, or even higher, depending on the type of encoded media (i.e., content). Video resolutions Res 1-Res 4 may be equal to or different from each other.

The container files may support adaptive streaming of encoded video programs across an available spectrum bandwidth that is divided into multiple, i.e., n, levels. Video having a predetermined video resolution for each level may be encoded at a bitrate corresponding to the bandwidth associated with the given level. For example, in DivX® Plus Streaming, by Rovi Corporation, the starting bandwidth is 125 kbps and the ending bandwidth is 8400 kbps, and the number n of bandwidth levels is eleven (11). Each bandwidth level encodes a corresponding video stream, where the maximum encoded bitrate of the video stream (according to a hypothetical reference decoder model of the video coding standard H.264) is set equal to the bandwidth/bitrate of the given level. In DivX® Plus Streaming, the 11 levels are encoded according to 4 different video resolution levels, in the following way: mobile (2 levels), standard definition (4 levels), 720p (2 levels), and 1080p (3 levels).

2.1 Encoded Video Frame Structure

FIG. 3A is an illustration of an example frame structure 300 of an encoded video block for container files from adaptive bitrate streams 1 and 2 of FIG. 2. Video encoding by encoder 110 includes capturing a number of successive picture frames, i.e., a GOP, at a predetermined video frame rate, and encoding each of the captured frames, in accordance with an encoding standard/technique, into a corresponding encoded video frame. Exemplary encoding standards include, but are not limited to, block encoding standards, such as H.264 and Moving Picture Experts Group (MPEG) standards. Collectively, the encoded video frames form an encoded video block, such as an encoded video block in one of container files CF. The process repeats to produce contiguous encoded video blocks.

The encoding process may encode a video frame independent of, i.e., without reference to, any other video frames, such as preceding frames, to produce an encoded video frame referred to herein as a key frame. For example, the video frame may be intra-encoded, or intra-predicted. Such key frames are referred to as I-Frames in the H.264/MPEG standard set. Since the key frame was encoded independent of other encoded video frames, it may be decoded to recover the original video content therein independent of, i.e., without reference to, any other encoded video frames. In the context of streaming, the key frame may be downloaded from CDN 112 to client device 104, decoded independent of other encoded frames, and the recovered (decoded) video played back, i.e., presented, on the client device.

Alternatively, the encoding process may encode a video frame based on, or with reference to, other video frames, such as one or more previous frames, to produce an encoded video frame referred to herein as a non-key frame. For example, the video frame may be inter-encoded, i.e., inter-predicted, to produce the non-key frame. Such non-key frames include P-Frames and B-frames in the H.264/MPEG standard set. The non-key frame is decoded based on one or more other encoded video frames, e.g., key-frames, reference frames, etc. In the context of streaming, the non-key frame may be downloaded from CDN 112 to client device 104, decoded based on other encoded frames, and the recovered video played back.

With reference again to FIG. 3A, frame structure 300 of the encoded video block for container files in the adaptive bitrate streams includes, in a time-ordered sequence, a first set of successive non-key frames 304, a key frame 306, and a second set of successive non-key frames 308. Accordingly, key frame 306 is interspersed among the encoded video frames of the encoded video block. The position of key frame 306 relative to the non-key frames in block 300 may vary, e.g., the position may be at the top, the middle, the bottom, or elsewhere in the block. Moreover, multiple key frames may be interspersed among the encoded video frames of the encoded video block, and separated from each other by multiple non-key frames.

A key/non-key (K/NK) flag associated with each of the frames 304, 306, and 308 indicates whether the associated frame is a key-frame or a non-key frame. Each of the key and the non-key frames may include a predetermined number of bytes of encoded video.

In an example in which the encoded video block represented by frame structure 300 encodes 2 seconds of video captured at a video frame rate of 30 frames per second (fps), the frame structure includes 60 encoded video frames, which may include N (i.e., one or more) interspersed key frames, and 60-N non-key frames. Typically, the number of non-key frames exceeds the number of key frames.

FIG. 3B is an illustration of an example frame structure 320 of an encoded video block for container files from the trick play stream of FIG. 2. Trick play frame structure 320 includes, in a time-ordered sequence, key frames 322. In other words, trick play frame structure 320 includes only key frames, i.e., key frames without non-key frames.

In the example in which the encoded video block represented by frame structure 300 encodes 2 seconds of video captured at a video frame rate of 30 frames per second (fps), the encoded video block represented by frame structure 320 also encodes 2 seconds of video. However the video frame rate for structure 320 is reduced to 5 fps, which yields 10 encoded video frames (key frames) every 2 seconds.

3 Sequence Diagram

FIG. 4 is a sequence diagram of example high-level interactions 400 between network services 102 and client device 104 used to initiate, i.e., start-up, streaming, implement normal streaming and playback, and implement trick play features in on-demand, live, and real-time streaming embodiments. Interactions 400 progress in time from top-to-bottom in FIG. 4, and are now described in that order. It is assumed that prior to startup, encoder 110 is in the process of, or has finished, encoding video content into multiple adaptive bitrate streams and a corresponding trick play stream, and storing the resulting container files in CDN 112 for subsequent download to client device 104.

3.1 Start-Up

At 410, a user of client device 104 selects content, such as a video program, to be streamed using the client device GUI.

At 422, client device 104 sends a “Start” message (also referred to as a “begin playback” message) to RTS 114 to start a streaming session. The Start message includes an identifier (ID) of the content to be streamed and a current time stamp. The ID identifies content from a content source that is to be streamed to client 104, and may indicate, e.g., a channel, program name, and/or source originating the content to be streamed. The current time stamp (also referred to as “current time”) indicates a current time, such as a Universal Time Code (UTC). The UTC may be acquired from any available UTC time service, as would be appreciated by those or ordinary skill in the relevant arts.

As mentioned above, it is assumed that at the time the Start message is issued, the content identified therein has already been encoded and is available for streaming, e.g., for video-on-demand streaming, or will begin to be encoded shortly after the time of the Start message, e.g., for live and real-time streaming. It is also assumed that RTS 114 has collected, or will be collecting, the information related to the encoded program from encoder 110 or CDN 115, such as a program stream index, e.g., program stream index 204, sufficient to identify the identified content in network services 102.

At 424, in response to the Start message, RTS 114 sends an encoding profile message (referred to as a “Profile” message) to client 104. The Profile message lists different encoding profiles used to encode the identified content, e.g., as available from the program stream index for the identified content. Each of the profiles specifies encoding parameters/settings, including, but not limited to: content type (e.g., audio, video, or subtitle); an encoding level corresponding to an encoding bitrate, resolution, and video frame rate (e.g., levels L1, L2, L3); and a container file type, e.g., a Multipurpose Internet Mail Extensions (MIME) type. The Profile message also indicates which encoding level among the multiple encoding levels e.g., encoding level L3, represents or corresponds to a trick play stream.

In response to the Profile message, client device 104 selects an appropriate encoding level (e.g., an appropriate combination of an encoding bitrate and a resolution) among the levels indicated in the Profile message (not including the level indicating the trick play stream) for normal streaming and playback of the identified content. Client device 104 may determine the appropriate encoding level based on a communication bandwidth at the client device.

3.2 Normal Streaming and Playback

After startup, normal streaming and playback begins, as follows.

At 432, after client device 104 has selected the encoding level, the client device sends a GetPlaylist message to RTS 114 to request a list of any new container files that have been uploaded since the client device last downloaded container files (if any) from CDN 112. The GetPlaylist message includes selection criteria for uploaded container files, namely, a current time and the selected encoding level. The current time represents a time code associated with the last container file downloaded by client device 104 (if any) in the current streaming session.

In response to the GetPlaylist message, RTS 114:

-   -   a. selects the uploaded container files, as identified to the         RTS that meet the criteria specified in the GetPlaylist message.         The selected, uploaded container files are those container files         that have (i) a time code greater than the current time,         and (ii) an encoding level that matches the level specified in         the GetPlaylist message from the client device;     -   b. generates a Playlist message identifying the selected         container files; and     -   c. at 433, sends the Playlist message to client device 104.

For each of the selected container files, the Playlist message includes the following information: the type of content encoded in the container file (e.g., video, audio, or subtitle); an address (e.g., URL) of the container file in CDN 112 (e.g., a subset of the addresses A1 or A2); a time code, e.g., a start time and an end time, associated with the content block encoded in the container file; and a file size of the container file.

At 434, in response to the Playlist message, client device 104 downloads container files from addresses in CDN 112 based on, i.e., as identified in, the Playlist message.

At 436, client device 104 decodes all of the key frames and the non-key frames of the encoded content block from each of the downloaded container files to recover the original content therein, and then presents the recovered content, whether in audio, visual, or in other form, on client device 104. The process of decoding the encoded content from the key and non-key frames and then presenting the recovered content on client device 104 is referred to as “normal playback” on the client device. In normal playback, the content recovered from successive downloaded container files is played back on client device 104 in a forward (play) direction, i.e., in an order of increasing time code. For example, with reference again to FIG. 2, the content is played back from container files CF in the time code order of 0 s-2 s, 2 s-4 s, 4 s-6 s, and so on. For normal playback, the decoded video frames are presented at a frame rate equal to the frame rate at which the video was original captured and encoded, e.g., at a rate of 30 fps.

The normal streaming and playback sequence repeats. Therefore, in summary, in the streaming and playback sequence, client device 104 periodically requests and downloads Playlist messages, downloads container files indicated in the Playlist messages, and plays back the content from the downloaded container files in the forward direction.

3.3 Trick Play

At any time during the normal streaming and playback sequence, the user may select a trick play (TP) feature through the GUI. Trick play features include, but are not limited to, rewind and fast forward, in which client device 104 rewinds and fast forwards through previously played back content.

At 440, assume the user selects the rewind trick play feature while client device 104 is performing the normal playback of content.

At 442, in response to the rewind request, client device 104 sends a GetPlaylist message to RTS 114 to solicit appropriate trick play video (container files) from network services 102. Therefore, in this case, the GetPlaylist message may also be referred to as a “GetTrickPlayPlaylist” message. The GetPlaylist message sent at 442 includes the following trick play file selection criteria:

-   -   a. a time (referred to as a “trick play time”) when the user         selected the trick play feature;     -   b. the encoding level that was indicated in the Profile message         (at 424) as corresponding to the trick play video (e.g., level 3         in the example of FIG. 2); and     -   c. a trick play direction (depicted as “Dir” in FIG. 4)         indicating rewind (RWD).

At 444, in response to the GetPlaylist message sent at 442, RTS 114 generates and sends a trick play Playlist message to client device 104. The trick play Playlist message identifies those container files from the trick play stream (e.g., the stream associated with encoding level L3 in the example of FIG. 2) that meet the selection criteria, namely, that are associated with (i) successive time code less than the trick play time because the trick play direction is RWD, and (ii) an encoding level that matches the specified level (e.g., encoding level L3). The Playlist message lists URLs of the appropriate trick play container files.

At 446, client device 104 downloads the trick play container files identified in the Playlist message from 444. For example, client device 104 downloads the trick play container files from their corresponding URLs.

At 448, client device 104 plays back video from the downloaded trick play container files, i.e., the client device decodes the key frames from each of the trick play container files and then presents the decoded video in a rewind play direction, i.e., in an order of decreasing time codes beginning with the trick play time.

The trick play sequence 442-448 repeats.

During trick play, the video from the key frames may be played back at a reduced video frame rate relative to that used for normal playback. For example, the trick play playback video frame rate may be 5 fps, instead of 30 fps.

Also, to implement a faster rewind, key frames may be skipped, e.g., every other key frame may be played back. In other words, only a subset of key frames in each of the downloaded trick play container files may be used in trick play playback.

The above described trick play sequence results when the user selects RWD at 440. Alternatively, the user may select fast forward (FFWD) at 440. The trick play sequence that results when the user selects FFWD is similar to that for RWD, except that the GetPlaylist message at 442 indicates FFWD instead of RWD. In response to the FFWD indication in the GetPlaylist message, at 444, RTS 114 returns a Playlist message identifying trick play files associated with successive time codes greater than (not less than) the trick play time. Then, at 448, client device 104 plays back the downloaded trick play files in the forward direction.

4 Profile and Playlist Messages

4.1 Profile Message

FIG. 5 is an example Profile message 500. In an embodiment, the Profile message format is in accordance with the World Wide Web Consortium (W3C) recommended Extensible Markup Language (XML) markup language, Synchronized Multimedia Integration Language (SMIL) 3.0 Tiny profile. This profile is well-suited to descriptions of web-based multimedia. However, other protocols may be used to format the Profile message.

Profile message 500 includes a header 501 to specify the base profile as SMIL 3.0 (Tiny), and a body including video encoding (VE) profiles 502, 504, 505 and an audio encoding (AE) profile 506. Profile message 500 corresponds to a requested program ID, such as encoded program 200 of FIG. 2, and includes information from the associated index, e.g., index 204. Each of VE profiles 502, 504, 505 specifies the following encoding settings or parameters:

-   -   a. a content type, e.g., video;     -   b. an encoding level “Video ID” (e.g., level 1=L2, level 2=L2,         level 3=L3) with its corresponding         -   i. encoding bitrate (e.g., Rate1, Rate2, or Rate3, such as a             bitrate=400000 bps, 600000 bps, or 150000 bps), and         -   ii. video resolution (e.g., Res1, Res2, or Res3) in terms             of, e.g., pixel width and height dimensions (e.g., 768×432);             and     -   c. MIME type.

Similarly, AE profile 506 specifies:

-   -   a. a content type, e.g., audio;     -   b. an encoding bitrate/reserved bandwidth value (e.g., 192000);         and     -   c. a MIME type.

The Profile message may also include a video frame rate at which each level was encoded.

As mentioned above in connection with FIG. 4, Profile message 500 also includes a field 510 to indicate which of encoding profiles 502-505, if any, represents a trick play stream. In the example of FIG. 5, the stream associated with level 3 (similar to FIG. 2) is indicated as the trick play stream.

4.2 Playlist Message

FIG. 6 is an example Playlist message 600 generated in response to a GetPlaylist message selection criteria including a current time of 40 (seconds) and specifying a level 1 encoding level. Like the Profile message, the example Playlist message is formatted in accordance with SMIL 3.0.

Playlist message 600 includes a header 601 to specify the base profile as 3.0, and a body that includes sequential records or elements 602-610, each of which is defined as a seq element <seq>. In an embodiment, each seq element 602-610 corresponds to an uploaded container file. Using seq elements, RTS 114 is able to specify a sequence of real-time media streams for playback. A sequence tag is used with each element to indicate one of <video>, <audio> or <subtitle/text> encoded content for streaming. Elements 602-610 identify respective uploaded elements (e.g., container files) that meet the Playlist message criteria (i.e., encoding level 1 and a time code equal to or greater than 40). In the example of FIG. 6, elements 602-608 identify three container files containing successive or time-ordered two second blocks of encoded video. Element 610 identifies a container file containing a two second segment of encoded audio. Each of the Playlist message records 602-610 includes:

-   -   a. a content type identifier (e.g., video or audio);     -   b. a URL of the identified container file (e.g.,         src=http://10.180.14.232/l140.mkv). For example, the URLs         correspond to container file addresses from the list of         addresses A1 or A2 from FIG. 2;     -   c. a time code in seconds (e.g., a start time and an end time,         referred to as “ClipBegin” and “ClipEnd,” respectively,)         associated with the segment encoded in the identified container         file. The example time codes for each of the container files are         40-42, 42-44, and 46-48); and     -   d. a file size of the identified container file (e.g., 3200         kilobits).         5 Method Flowcharts         5.1 Network Side

FIG. 7 is a flowchart of an example network-side method 700 of multimedia content streaming with trick play support based on trick play files, which may be implemented in network services 102. Method 700 may be executed in accordance with sequence 400 of FIG. 4. The multimedia content includes video, and may also include audio and/or text (e.g., subtitles). Method 700 may be implemented in any of the contexts of on-demand, live, and real-time streaming.

715 includes encoding video into (i) multiple adaptive bitrate streams, and (ii) a corresponding trick play stream in accordance with corresponding distinct sets of encoder settings or levels, such as an encoding bitrate, a resolution, and a video frame rate. Each of the streams comprises container files of encoded video associated with successive time codes.

720 includes storing (i) the container files for each stream at corresponding addresses, such as network addresses, e.g., URLs, in a download server, e.g., in CDN 114, and (ii) an index identifying the container files of each stream in RTS 114.

725 includes receiving a playlist request (e.g., a GetPlaylist message) from a client device, e.g., over a communication network, for a selected one of the adaptive bitrate streams. The playlist request includes container file selection criteria, including a current time, an encoding level.

730 includes sending, to the client device over the communication network, a playlist (e.g., a Playlist message) identifying the stored files of the selected stream that meet the selection criteria, i.e., that are associated with time codes greater than the current time. The playlist may list URLs where the identified container files are stored and sizes of the files.

735 includes receiving, from the client device, a playlist request (e.g., another GetPlaylist message) for the trick play stream corresponding to the selected stream. The trick play playlist request includes a trick play time code, a trick play encoding level, and a trick play direction, e.g., fast forward or rewind.

740 includes sending, to the client device, a trick play playlist (e.g., another Playlist message) identifying the stored files (e.g., URLs of the stored files) of the trick play stream that are associated with successive time codes that are (i) less than the trick play time if the trick play direction is rewind, and (ii) greater than the trick play time if the trick play direction is fast forward.

5.2 Client Side

FIG. 8 is a flowchart of an example client-side method 800 of multimedia content streaming with trick play support based on trick play files, which may be implemented in client device 104. Method 800 is a client side method complementary to network side method 700. Method 800 may be executed in accordance with sequence 400 of FIG. 4. The multimedia content includes video, and may also include audio and/or text (e.g., subtitles). Method 700 may be implemented in any of the contexts of on-demand, live, and real-time streaming.

Together, operations 802-815 described below are considered precursor, or initialization, operations that lead to subsequent downloading of an adaptive bitrate stream.

802 includes requesting to stream a video program from network services over a communication network and, in response, receiving a Profile message over the communication network identifying multiple adaptive bitrate streams of encoded video and a trick play stream of encoded video that are stored in, and available for streaming from, network services. The streams may be identified according to their respective encoding levels (e.g., encoding bitrate, resolution, frame rate, etc.). Each of the streams comprises container files of the encoded video. The container files of each stream are associated with successive time codes.

805 includes selecting an adaptive bitrate stream from among the multiple adaptive bitrate streams. A client device may select an adaptive bitrate stream based an available communication bandwidth.

810 includes sending, to the network services over the communication network, a playlist request (e.g., a GetPlaylist message) for (container) files from the selected stream. The playlist request includes file selection criteria that includes a current time and specifies an encoding level corresponding to, e.g., an encoding bitrate and a resolution, of the selected stream.

815 includes receiving, from the network services over the communication network, a playlist (e.g., a Playlist message) identifying the files from the selected stream that meet the file selection criteria, i.e., that are associated with successive time codes greater than the current time.

820 includes downloading, from the network services over the communication network, files of encoded video from the selected stream as identified in the playlist, e.g., from URLs listed in the playlist.

825 includes playing back video from the downloaded files in an order of increasing time codes. This includes playing back video from both key and non-key frames at a normal video frame rate, such as 30 fps.

830 includes receiving a trick play feature request, such as a video rewind request, from a user of the client device. Next operations 835-850 are performed in response to the trick play request received at 830.

835 includes sending, to the network services over the communication network, a trick play playlist request (e.g., a GetTrickPlayPlayist message) for appropriate trick play files from the trick play stream corresponding to the selected stream. The request includes a trick play time (corresponding to a time when the user selected the trick play feature), a trick play encoding level as indicated in the Profile message received earlier by the client device at 802 (e.g., level L3), and a trick play direction (e.g., rewind or fast forward).

840 includes receiving, from the network services over the communication network, a trick play playlist (e.g., a Playlist message) identifying files from the trick play stream that meet the file selection criteria, i.e., that are associated with successive time codes (i) less than the trick play time if the direction is rewind, and (ii) greater than the trick play time if the direction is fast forward.

845 includes downloading the trick play files identified in the playlist from 840, e.g., from URLs listed in the playlist.

850 includes playing back video from the downloaded files in either the rewind direction, i.e., in an order of decreasing time codes, or in the forward direction, as appropriate. This includes playing back video only from key frames at a trick play video frame rate, such as 5 fps, which is reduced relative to the normal frame rate.

6 Systems

FIG. 9A is a block diagram of a computer system 900 configured to support/perform streaming and trick play features as described herein.

Computer system 900 includes one or more computer instruction processing units and/or processor cores, illustrated here as processor 902, to execute computer readable instructions, also referred to herein as computer program logic.

Computer system 900 may include memory, cache, registers, and/or storage, illustrated here as memory 904, which may include a non-transitory computer readable medium encoded with computer programs, illustrated here as computer program 906.

Memory 904 may include data 908 to be used by processor 902 in executing computer program 906, and/or generated by processor 902 during execution of computer program 906. Data 908 may include container files 908 a from adaptive bitrate streams and trick play streams, and message definitions 908 b for GetPlaylist, Playlist, and Profile messages, such as used in the methods described herein.

Computer program 906 may include:

Client application instructions 910 to cause processor 902 to perform client device functions as described herein. Instructions 910 include:

GUI instructions 912 to implement a GUI through which a user may select to stream a program and select trick play features;

streaming and playback instructions 914 to download, decode, and playback streamed video content;

trick play instructions 916 to implement trick play features; and

message protocol instructions 918 to implement client side message exchange protocols/sequences (sending and receiving of messages) as described in one or more examples above.

Instructions 910-918 cause processor 902 to perform functions such as described in one or more examples above.

FIG. 9B is a block diagram of network/server-side application instructions 960 which may execute in a processing environment similar to that of computer system 900, and which may be hosted in encoder 110, RTS 114, and/or CDN 112, as appropriate.

Network/server-side application instructions 960 cause a processor to perform network-side (network services) functions as described herein. Instructions 960 have access to adaptive bitrate streams, trick play streams, indexes identifying the streams, and message definitions as described in one or more example above. Instructions 960 include:

encoder instructions 962 to encode multimedia content into adaptive bitrate streams and trick play streams, as described in one or more example above; and

message protocol instructions 964, including RTS instructions, to implement network side message exchange protocols/sequences (sending and receiving of messages) in support of adaptive bitrate streaming and trick play streaming, e.g., between RTS 114, client device 104, encoder 110, and CDN 112, as described in one or more examples above. For example, instructions 964 include instructions to create and send Profile and Playlist messages, and to respond to GetPlaylist messages.

Methods and systems disclosed herein may be implemented with respect to one or more of a variety of systems including one or more consumer systems, such as described below with reference to FIGS. 10 and 11. Methods and systems disclosed herein are not, however, limited to the examples of FIGS. 10 and 11.

FIG. 10 is a block diagram of an example computer system 1000 corresponding to any of network services 102, including encoder 110, CDN 112, and RTS 114. Computer system 1000, which may be, e.g., a server, includes one or more processors 1005, a memory 1010 in which instruction sets and databases for computer program applications are stored, a mass storage 1020 for storing, e.g., encoded programs, and an input/output (I/O) module 1015 through which components of computer system 1100 may communicate with communication network 106.

FIG. 11 is a block diagram of an example system 1100 representing, e.g., client device 104, and may be implemented, and configured to operate, as described in one or more examples herein.

System 1100 or portions thereof may be implemented within one or more integrated circuit dies, and may be implemented as a system-on-a-chip (SoC).

System 1100 may include one or more processors 1104 to execute client-side application programs stored in memory 1105.

System 1100 may include a communication system 1106 to interface between processors 1104 and communication networks, such as networks 106. Communication system 1106 may include a wired and/or wireless communication system.

System 1100 may include a stream processor 1107 to process program (i.e., content) streams, received over communication channel 1108 and through communication system 1106, for presentation at system 1100. Stream processor 1107 includes a buffer 1107 a to buffer portions of received, streamed programs, and a decoder 1107 b to decode and decrypt the buffered programs in accordance with encoding and encryption standards, and using decryption keys. In an alternative embodiment, decoder 1107 b may be integrated with a display and graphics platform of system 1100. Stream processor 1107 together with processors 1104 and memory 1105 represent a controller of system 1100. This controller includes modules to perform the functions of one or more examples described herein, such as a streaming module to stream programs through communication system 1106.

System 1100 may include a user interface system 1110.

User interface system 1110 may include a monitor or display 1132 to display information from processor 1104, such as a client-side GUI.

User interface system 1110 may include a human interface device (HID) 1134 to provide user input to processor 1104. HID 1134 may include, for example and without limitation, one or more of a key board, a cursor device, a touch-sensitive device, and or a motion and/or image sensor. HID 1134 may include a physical device and/or a virtual device, such as a monitor-displayed or virtual keyboard.

User interface system 1110 may include an audio system 1136 to receive and/or output audible sound.

System 1100 may correspond to, for example, a computer system, a personal communication device, and/or a television set-top box.

System 1100 may include a housing, and one or more of communication system 1106, processors 1104, memory 1105, user interface system 1110, or portions thereof may be positioned within the housing. The housing may include, without limitation, a rack-mountable housing, a desk-top housing, a lap-top housing, a notebook housing, a net-book housing, a set-top box housing, a portable housing, and/or other conventional electronic housing and/or future-developed housing. For example, communication system 1102 may be implemented to receive a digital television broadcast signal, and system 1100 may include a set-top box housing or a portable housing, such as a mobile telephone housing.

Methods and systems disclosed herein may be implemented in circuitry and/or a machine, such as a computer system, and combinations thereof, including discrete and integrated circuitry, application specific integrated circuitry (ASIC), a processor and memory, and/or a computer-readable medium encoded with instructions executable by a processor, and may be implemented as part of a domain-specific integrated circuit package, a system-on-a-chip (SOC), and/or a combination of integrated circuit packages.

Methods and systems are disclosed herein with the aid of functional building blocks illustrating functions, features, and relationships thereof. At least some of the boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries may be defined so long as the specified functions and relationships thereof are appropriately performed. While various embodiments are disclosed herein, it should be understood that they are presented as examples. The scope of the claims should not be limited by any of the example embodiments disclosed herein. 

What is claimed is:
 1. A method of video streaming with trick play, comprising: receiving a playback request for a selected one of a plurality of adaptive bitrate streams at a first time using a playback device, and in response thereto: sending a playlist request and the first time to a server; receiving a playlist identifying a set of successive container files storing segments of encoded video from the selected adaptive bitrate stream from the server, the set of successive container files starting at the first time; downloading segments of encoded video from the selected adaptive bitrate stream according to the received playlist; playing back video from the downloaded segments of encoded video from the selected adaptive bitrate stream; and receiving a trick play request for a trick play stream corresponding to the plurality of adaptive bitrate streams using the playback device, the trick play request including a second time and a particular direction, and in response thereto: sending a trick play playlist request, the second time, and the particular direction to the server, wherein the server generates a trick play playlist identifying a different set of container files storing segments of encoded video from the trick play stream upon receipt of the trick play playlist request, the different set of container files starting at the second time and in the particular direction; receiving the generated trick play playlist from the server; downloading segments of encoded video from the trick play stream according to the generated trick play playlist; and playing back video from the downloaded segments of encoded video from the trick play stream in the particular direction.
 2. The method of claim 1, wherein: the encoded segments of encoded video from the selected adaptive bitrate stream comprise encoded video frames, including non-key frames each encoded based on video from one or more previous video frames, and key frames interspersed among the non-key frames, each of the key frames encoded independent of previous video frames; and the segments of encoded video from the trick play stream comprise encoded video frames, including key frames without non-key frames.
 3. The method of claim 2, wherein: the playing back video from the downloaded segments of encoded video from the selected adaptive bitrate stream includes playing back video from the non-key frames and the key frames at a normal video frame rate; and the playing back video from the downloaded segments of encoded video from the trick play stream includes playing back video from the key frames at a trick play video frame rate that is less than the normal frame rate.
 4. The method of claim 3, wherein the playing back video at the trick play video frame rate includes, selectively: playing back all of the video from each segment of encoded video from the trick play stream file to achieve a normal trick play playback rate; and playing back a subset of the video in each segment of encoded video from the trick play stream to achieve an accelerated trick play playback rate.
 5. The method of claim 1, wherein: the downloaded segments of encoded video from the selected adaptive bitrate stream are associated with successive time codes; the playing back video from the downloaded segments of encoded video from the selected adaptive bitrate stream includes playing back the video in a forward direction of increasing time codes; the downloaded segments of encoded video from the trick play stream are associated with successive time codes; and the playing back video from the downloaded segments of encoded video from the trick play stream includes playing back the video in a rewind direction of decreasing time codes.
 6. The method of claim 1, further comprising, prior to downloading of the segments of encoded video from the selected adaptive bitrate stream : sending a playlist request for segments of encoded video from the selected adaptive bitrate stream associated with time codes greater than a current time specified in the playlist request; and receiving a playlist listing network addresses where the segments of encoded video from the selected adaptive bitrate stream associated with successive time codes greater than the current time are stored, wherein the downloading includes downloading the segments of encoded video from the selected adaptive bitrate stream from the network addresses, and the playing back video from the downloaded segments of encoded video from the selected adaptive bitrate stream includes playing back video from the downloaded segments of encoded video from the selected adaptive bitrate stream in an order of increasing time codes.
 7. The method of claim 1, wherein: the trick play playlist request is a request for segments of encoded video from the trick play stream associated with time codes less than a trick play time when the trick play request was received; the trick play playlist lists network addresses of the segments of encoded video from the trick play stream associated with time codes less than the trick play time; the downloading the segments of encoded video from the trick play stream include downloading the segments of encoded video from the trick play stream from their network addresses; and the playing back video from the downloaded segments of encoded video from the trick play stream includes playing back video in an order of decreasing time codes.
 8. An apparatus for video playback with trick play, comprising: a processor; a non-transitory memory storing a video playback application which directs the processor to: receive a playback request for a selected one of a plurality of adaptive bitrate streams at a first time, and in response thereto: send a playlist request and the first time to a server; receive a playlist identifying a set of successive container files storing segments of encoded video from the selected adaptive bitrate stream from the server, the set of successive container files starting at the first time; download segments of encoded video from the selected adaptive bitrate stream according to the received playlist; playback video from the downloaded segments of encoded video from the selected adaptive bitrate stream; and receive a trick play request for a trick play stream corresponding to the plurality of adaptive bitrate streams, the trick play request including a second time and a particular direction, and in response thereto: send a trick play playlist request, the second time, and the particular direction to the server, wherein the server generates a trick play playlist identifying a different set of container files storing segments of encoded video from the trick play stream upon receipt of the trick play playlist request, the different set of container files starting at the second time and in the particular direction; receive the generated trick play playlist from the server; download segments of encoded video from the trick play stream according to the generated trick play playlist; and playback video from the downloaded segments of encoded video from the trick play stream in the particular direction.
 9. The apparatus of claim 8, wherein: the encoded video in the downloaded segments of encoded video from the selected adaptive bitrate stream comprises encoded video frames, including non-key frames each encoded based on video from one or more previous video frames, and key frames interspersed among the non-key frames, each of the key frames encoded independent of previous video frames; and the encoded video in the downloaded segments of encoded video from the trick play stream comprises encoded video frames, including key frames without non-key frames.
 10. The apparatus of claim 9, wherein: the video playback application further directs the processor system to playback video from the non-key frames and the key frames at a normal video frame rate; and the video playback application further directs processor system to playback video from the downloaded segments of encoded video from the trick play stream at a trick play video frame rate that is less than the normal frame rate.
 11. The apparatus of claim 10, wherein the video playback application further directs the processor system to playback video at the trick play video frame rate by selectively: playing back all of the video from each segment of encoded video from the trick play stream to achieve a normal trick play playback rate; and playing back a subset of the video in each segment of encoded video from the trick play stream to achieve an accelerated trick play playback rate.
 12. The apparatus of claim 8, wherein: the downloaded segments of encoded video from the selected adaptive bitrate stream are associated with successive time codes; the video playback application further directs the processor system to playback video from the downloaded segments of encoded video from the selected adaptive bitrate stream in a forward direction of increasing time codes; the downloaded segments of encoded video from the trick play stream are associated with successive time codes; and the video playback application further directs the processor system to playback video from the downloaded segments of encoded video from the trick play stream in a rewind direction of decreasing time codes.
 13. The apparatus of claim 8, further comprising: a communication system to communicate with a communication network; a user interface system; and a housing to house the processor system, the communication system, and the user the interface system.
 14. The apparatus of claim 13, wherein: the communication system includes a wireless communication system; and the housing includes a mobile hand-held housing to house the processor system, the communication system, the user interface system, and a battery.
 15. A non-transitory computer readable medium encoded with a computer program including instructions to cause a processor to: receive a playback request for a selected one of a plurality of adaptive bitrate streams at a first time, and in response thereto: send a playlist request and the first time to a server; receive a playlist identifying a set of successive container files storing segments of encoded video from the selected adaptive bitrate stream from the server, the set of successive container files starting at the first time; download segments of encoded video from the selected adaptive bitrate stream according to the received playlist; playback video from the downloaded segments of encoded video from the selected adaptive bitrate stream; and receive a trick play request for a trick play stream corresponding to the plurality of adaptive bitrate streams, the trick play request including a second time and a particular direction, and in response thereto: send a trick play playlist request, the second time, and the particular direction to the server, wherein the server generates a trick play playlist identifying a different set of container files storing segments of encoded video from the trick play stream upon receipt of the trick play playlist request, the different set of container files starting at the second time and in the particular direction; receive the generated trick play playlist from the server; download segments of encoded video from the trick play stream according to the generated trick play playlist; and playback video from the downloaded segments of encoded video from the trick play stream in the particular direction. 